
import { createApp } from 'vue'
import router from './router/index.js'
import App from "@/App.vue";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import store from './store';
import { ElIcon } from 'element-plus';
import * as Icons from '@element-plus/icons-vue';
const app = createApp(App)

app.use(router)
app.use(ElementPlus)
app.use(store)
app.use(ElIcon);
app.mount('#app')

// 注册所有图标
Object.keys(Icons).forEach((key) => {
    app.component(key, Icons[key]);
});
